package com.endava.AssignmentsOperationsPresentation;

class Bird {

	{
		System.out.print("b1 ");// 4
	}
	public Bird() {
		i = 3;
		System.out.print("b2 ");// 5
	}

	
	
	int j;
	final int i;
}

class Raptor extends Bird {
	static {
		System.out.print("r1 ");// 1
	}

	
	public Raptor() {
//		super();
		//aici ex 6
		System.out.println("jjjjj"+j);
		System.out.print("r2 ");// 7
	}

	{
		j=89;
		System.out.print("r3 ");// 6
	}
	static {
		System.out.print("r4 ");// 2
	}
}

public class Hawk {
	public static void main(String[] args) {
		System.out.print("pre ");// 3
		new Raptor();
		System.out.println("hawk ");// 8

		// r1 r4 pre b1 b2 r3 r2 hawk
	}
}